//**********************************************************
//    File Name: ClientAssessment.cs
//    Author: Team Motif
//    Date Created : 04/13/2007
//    Current Owner: Team Motif 
//                                                                            
//    Purpose: 
//    This class provides the functions needed to create, update, access, and delete a 
//    client's assessment details. (these are the details provided by the state to EHNW in its client report.
//
//	  Copyright 2007
//**********************************************************

using System;
using System.Collections.Generic;
using System.Text;

namespace Library
{
    public class ClientAssessment
    {
        /// <summary>
        /// -------------------------------------------------------------------------------
        /// Constructor for ClientAssessment class
        /// -------------------------------------------------------------------------------
        /// </summary>
        public ClientAssessment()
        {
            mDateCreated = new DateTime();
            mDateCreated = DateTime.Now;
        }

        /// <summary>
        /// -------------------------------------------------------------------------------
        /// Sets the assessment data
        /// -------------------------------------------------------------------------------
        /// </summary>
        /// <param name="assessment"></param>
        public void SetAssessmentData(String assessment)
        {
            mAssessmentData = assessment;
            mDateModified = new DateTime();
            mDateModified = DateTime.Now;
        }

        /// <summary>
        /// -------------------------------------------------------------------------------
        /// Returns the assessment data
        /// -------------------------------------------------------------------------------
        /// </summary>
        /// <returns></returns>
        public String GetAssessmentData()
        {
            return mAssessmentData;
        }

        /// <summary>
        /// -------------------------------------------------------------------------------
        /// Gets the last modification date/time for this assessment
        /// -------------------------------------------------------------------------------
        /// </summary>
        /// <returns></returns>
        public DateTime GetTimeLastModified()
        {
            return mDateModified;
        }

        /// <summary>
        /// -------------------------------------------------------------------------------
        /// Gets the date/time this assessment was created.
        /// -------------------------------------------------------------------------------
        /// </summary>
        /// <returns></returns>
        public DateTime GetTimeCreated()
        {
            return mDateCreated;
        }

        // -------------------------------------------------------------------------------
        // Private data region.
        // -------------------------------------------------------------------------------
        String          mAssessmentData;
        DateTime        mDateCreated;
        DateTime        mDateModified;
    }
}
